home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MACD 5
/
MACD 5.bin
/
workbench
/
libs
/
newlooklib.lha
/
newlook
/
lastborder.c
< prev
next >
Wrap
C/C++ Source or Header
|
1993-12-26
|
729b
|
44 lines
/*
* LASTBORDER.C
*/
#include "newlook.h"
/****** newlook.lib/LastBorder ******************************************
*
* NAME
* LastBorder -- Return the last border in a list.
*
* SYNOPSIS
* last = LastBorder( border )
*
* struct Border *LastBorder( struct Border * );
*
* FUNCTION
* Return the last border in a list.
*
* INPUTS
* border - a pointer to a list of Border structures
* or NULL.
*
* RESULT
* The last struct Border * or NULL.
*
* EXAMPLE
*
* NOTES
*
* BUGS
*
* SEE ALSO
* CreateBorder()
*
******************************************************************************
*
*/
struct Border *LastBorder(struct Border *b)
{
return (b && b->NextBorder) ? LastBorder(b->NextBorder) : b;
}